<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>Hello MUI</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<!--标准mui.css-->
		   <script src="__STATIC__/js/mui.min.js"></script>
    <link href="__STATIC__/css/mui.min.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/css/icons-extra.css" />
	<link rel="stylesheet" type="text/css" href="__STATIC__/css/app.css"/>
		<style>
		.mui-preview-image.mui-fullscreen {
				position: fixed;
				z-index: 20;
				background-color: #000;
			}
			.mui-preview-header,
			.mui-preview-footer {
				position: absolute;
				width: 100%;
				left: 0;
				z-index: 10;
			}
			.mui-preview-header {
				height: 44px;
				top: 0;
			}
			.mui-preview-footer {
				height: 50px;
				bottom: 0px;
			}
			.mui-preview-header .mui-preview-indicator {
				display: block;
				line-height: 25px;
				color: #fff;
				text-align: center;
				margin: 15px auto 4;
				width: 70px;
				background-color: rgba(0, 0, 0, 0.4);
				border-radius: 12px;
				font-size: 16px;
			}
			.mui-preview-image {
				display: none;
				-webkit-animation-duration: 0.5s;
				animation-duration: 0.5s;
				-webkit-animation-fill-mode: both;
				animation-fill-mode: both;
			}
			.mui-preview-image.mui-preview-in {
				-webkit-animation-name: fadeIn;
				animation-name: fadeIn;
			}
			.mui-preview-image.mui-preview-out {
				background: none;
				-webkit-animation-name: fadeOut;
				animation-name: fadeOut;
			}
			.mui-preview-image.mui-preview-out .mui-preview-header,
			.mui-preview-image.mui-preview-out .mui-preview-footer {
				display: none;
			}
			.mui-zoom-scroller {
				position: absolute;
				display: -webkit-box;
				display: -webkit-flex;
				display: flex;
				-webkit-box-align: center;
				-webkit-align-items: center;
				align-items: center;
				-webkit-box-pack: center;
				-webkit-justify-content: center;
				justify-content: center;
				left: 0;
				right: 0;
				bottom: 0;
				top: 0;
				width: 100%;
				height: 100%;
				margin: 0;
				-webkit-backface-visibility: hidden;
			}
			.mui-zoom {
				-webkit-transform-style: preserve-3d;
				transform-style: preserve-3d;
			}
			.mui-slider .mui-slider-group .mui-slider-item img {
				width: auto;
				height: auto;
				max-width: 100%;
				max-height: 100%;
			}
			.mui-android-4-1 .mui-slider .mui-slider-group .mui-slider-item img {
				width: 100%;
			}
			.mui-android-4-1 .mui-slider.mui-preview-image .mui-slider-group .mui-slider-item {
				display: inline-table;
			}
			.mui-android-4-1 .mui-slider.mui-preview-image .mui-zoom-scroller img {
				display: table-cell;
				vertical-align: middle;
			}
			.mui-preview-loading {
				position: absolute;
				width: 100%;
				height: 100%;
				top: 0;
				left: 0;
				display: none;
			}
			.mui-preview-loading.mui-active {
				display: block;
			}
			.mui-preview-loading .mui-spinner-white {
				position: absolute;
				top: 50%;
				left: 50%;
				margin-left: -25px;
				margin-top: -25px;
				height: 50px;
				width: 50px;
			}
			.mui-preview-image img.mui-transitioning {
				-webkit-transition: -webkit-transform 0.5s ease, opacity 0.5s ease;
				transition: transform 0.5s ease, opacity 0.5s ease;
			}
			@-webkit-keyframes fadeIn {
				0% {
					opacity: 0;
				}
				100% {
					opacity: 1;
				}
			}
			@keyframes fadeIn {
				0% {
					opacity: 0;
				}
				100% {
					opacity: 1;
				}
			}
			@-webkit-keyframes fadeOut {
				0% {
					opacity: 1;
				}
				100% {
					opacity: 0;
				}
			}
			@keyframes fadeOut {
				0% {
					opacity: 1;
				}
				100% {
					opacity: 0;
				}
			}
			img {
				max-width: 100%;
				height: auto;
			}
			.con{
				background-color: lightpink;
				
			}
			.img
			{
				height:auto;
				width:80%;
				margin-left:10%;
			}
			.yemei
			{
				
			}
			.test
			{
				background-color: lightpink;
			}
			.test ul li
			{
				display:inline;margin-right:15px;
				height:90px;
				width:90px;
				background-color:pink;
				border-redius:5px; 
				
			}
			.test ul
			{
				display:inline;
				
			}	
			.imga
			{width：80%;
			height:auto;
			}	
		</style>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" href="{:url('index/Whitewall/index')}"></a>
			<h1 class="mui-title">表白墙</h1>
		</header>
		
		<div style="margin-top:70px;">
			
		</div>
			{volist name="data" id="vo"}
				<div class="mui-card con">
				<div class="mui-card-header con" style="color:#FF00FF">To:{$vo.to}<img src="__STATIC__/images/timg.png" class="img"></div>
				<div class="mui-card-content">
					<div class="mui-card-content-inner" style="color:#FF00FF">
						<p>{$vo.title}</p><br>
						<img src="__STATIC__/images/muwu.jpg"  data-preview-src="" class="img">
					</div>
				</div>
				<div class="mui-card-footer" style="color:#FF00FF">{$vo.from}</div>
			</div>
			{/volist}
			<div class="mui-card con">
				<div class="mui-input-row" style="margin: 10px 5px;">
			<form id="com" method="post" action="{:\\think\\Url::build('/index/Read/insert')}">
				<input type="hidden" name='activity_id' value="{$data.0.id}" >
				<textarea id="textarea" rows="5" name='comment' placeholder="请输入您的评论"></textarea>
			<button type="SUBMIT" class="mui-btn mui-btn-primary" style="margin-top:-12px;" onclick="ajaxPost();">发表</button>
			</form>
		</div>
			</div>
			<div class="mui-card con">
			{volist name='list' id="co" key="i"}
			<div class="mui-card" style="background:rgba(255,255,255,.1)">
			<div class="mui-card-content">
			
				<div class="mui-card-content-inner">
					<p>{$i}楼回复:</p>
					<p style="text-indent: 2em;">{$co.comment}</p>
				</div>
			</div>
			</div>
			{/volist}
			</div>
			
		<script src="__STATIC__/js/mui.min.js"></script>
	<script src="__STATIC__/js/mui.zoom.js"></script>
	<script src="__STATIC__/js/mui.previewimage.js"></script>
	<script>
		mui.previewImage();
	</script>
		
	</body>

</html>